package cn.seaboot.admin.sms.bean;


import io.swagger.v3.oas.annotations.media.Schema;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * POJO
 * 短信日志 [t_sms_log]
 * @author Mr.css on 2018-6-20
 */
@Schema(description = "短信日志 [t_sms_log] 实体类")
public class SmsLog implements Serializable {

    /**
     * ID
     */
    @NotNull
    @Size(max = 32)
    @Schema(description = "ID")
    private String id;
    /**
     * 发送日期
     */
    @Schema(description = "发送日期")
    private LocalDateTime gmtSend;
    /**
     * 创建日期
     */
    @Schema(description = "创建日期")
    private LocalDateTime gmtCreate;
    /**
     * 修改日期
     */
    @Schema(description = "修改日期")
    private LocalDateTime gmtModified;
    /**
     * 短信ID
     */
    @Size(max = 32)
    @Schema(description = "短信ID")
    private String smsId;
    /**
     * 短信类型
     */
    @Schema(description = "短信类型")
    private Integer smsType;
    /**
     * 渠道ID
     */
    @Size(max = 32)
    @Schema(description = "渠道ID")
    private String channelId;
    /**
     * 发送状态
     */
    @Schema(description = "发送状态")
    private Integer sendStatus;
    /**
     * 站内用户ID
     */
    @Size(max = 32)
    @Schema(description = "站内用户ID")
    private String userId;
    /**
     * 名称
     */
    @Size(max = 64)
    @Schema(description = "名称")
    private String userName;
    /**
     * 手机号
     */
    @Size(max = 16)
    @Schema(description = "手机号")
    private String userPhone;
    /**
     * 内容
     */
    @Size(max = 255)
    @Schema(description = "内容")
    private String content;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public LocalDateTime getGmtSend() {
        return gmtSend;
    }

    public void setGmtSend(LocalDateTime gmtSend) {
        this.gmtSend = gmtSend;
    }

    public LocalDateTime getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(LocalDateTime gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public LocalDateTime getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(LocalDateTime gmtModified) {
        this.gmtModified = gmtModified;
    }

    public String getSmsId() {
        return smsId;
    }

    public void setSmsId(String smsId) {
        this.smsId = smsId;
    }

    public Integer getSmsType() {
        return smsType;
    }

    public void setSmsType(Integer smsType) {
        this.smsType = smsType;
    }

    public String getChannelId() {
        return channelId;
    }

    public void setChannelId(String channelId) {
        this.channelId = channelId;
    }

    public Integer getSendStatus() {
        return sendStatus;
    }

    public void setSendStatus(Integer sendStatus) {
        this.sendStatus = sendStatus;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
